package org.neuedu.ssmp.crm.service.impl;

import org.neuedu.ssmp.crm.entity.ChancesPlan;
import org.neuedu.ssmp.crm.mapper.ChancesPlanMapper;
import org.neuedu.ssmp.crm.service.IChancesPlanService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author MoonHolder
 * @since 2019-12-09
 */
@Service
public class ChancesPlanServiceImpl extends ServiceImpl<ChancesPlanMapper, ChancesPlan> implements IChancesPlanService {

    @Autowired
    private ChancesPlanMapper mapper;
    @Override
    public List<ChancesPlan> lists(Integer id) {
        return mapper.chance(id);
    }
}
